import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

const routes: Routes = [
  {
    path: "general",
    loadChildren: "./general/general.module#GeneralModule"
  },
  // {
  //   path: "report",
  //   loadChildren: "./report/report.module#ReportModule"
  // },
  // {
  //   path: "data-analyse",
  //   loadChildren: "./data-analyse/data-analyse.module#DataAnalyseModule"
  // },
  // {
  //   path: "inquiry-data",
  //   loadChildren: "./inquiry-data/inquiry-data.module#InquiryDataModule"
  // },
  // {
  //   path: "all-ranking",
  //   loadChildren: "./all-ranking/all-ranking.module#AllRankingModule"
  // },
  // {
  //   path: "statistic-report",
  //   loadChildren: "./statistic-report/statistic-report.module#StatisticReportModule"
  // },
  // {
  //   path: "gridding",
  //   loadChildren: "./gridding/gridding.module#GriddingModule"
  // },
  // {
  //   path: "raw-data",
  //   loadChildren: "./raw-data/raw-data.module#RawDataModule"
  // },
  {
    path: "alert",
    loadChildren: "./alert/alert.module#AlertModule"
  },
  {
    path: "area",
    loadChildren: "./area/area.module#AreaModule"
  },
  {
    path: "traceSource",
    loadChildren: "./trace-source/trace-source.module#TraceSourceModule"
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class PeachRoutingModule { }
